home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 892 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  496 b 

  1. Path: news.cac.psu.edu!hrbicf!m1w
  2. From: m1w@icf.hrb.com (Michael E. Warren)
  3. Newsgroups: comp.lang.c
  4. Subject: Capturing stdout from a forked process
  5. Message-ID: <1996Jan9.162406.24172@hrbicf>
  6. Date: 9 Jan 96 16:24:06 EST
  7. Organization: HRB Systems, Inc.
  8.  
  9.  
  10. Can anyone tell me how to have one process spawn another using fork and exec 
  11. and capture that processes stdout?  I'd like to use some standard Unix commands
  12. and examine their results in C program.
  13.  
  14. Mike Warren
  15. HRB Systems 
  16. State College, PA
  17.  
  18.